import request from '@/utils/request.js'
// 这里使用解构赋值接收参数
export function loginAPI({account, password}) {
    return request({
        url: '/login',
        method: 'post',
        data: {
            account,
            password
        }
    })
}
export const getLikeListAPI = ({ limit = 4 }) => {
    return request({
        url:'/goods/relevant',
        params: {
            limit
        }
    })
}